﻿<UserControl x:Class="Zcu.PanelComposer.Views.UserControls.BaseCanvas"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel LastChildFill="True">

        <StatusBar x:Name="StatusB" DockPanel.Dock="Bottom" Background="Transparent">
            <TextBlock x:Name="PointsBlock" Text="Any text" />
        </StatusBar>

        <Border x:Name="PolyBorder" Grid.Row="1" BorderThickness="1" BorderBrush="Black" Margin="5" Width="800" Height="500"
                HorizontalAlignment="Center" VerticalAlignment="Center">
            <Border.LayoutTransform>
                <ScaleTransform CenterX="0" CenterY="0" ScaleX="1" ScaleY="1" />
            </Border.LayoutTransform>

            <Canvas x:Name="PolyCanvas" Background="Transparent" MouseDown="PolyCanvas_MouseDown" MouseMove="PolyCanvas_MouseMove" >
            </Canvas>

    </Border>
    </DockPanel>
</UserControl>
